//
//  SRCampingManagement.m
//  icamping
//
//  Created by Soraia Ferreira on 13/07/14.
//  Copyright (c) 2014 Soraia Ferreira. All rights reserved.
//

#import "SRCampingManagement.h"

@implementation SRCampingManagement

@synthesize campingList;

- (id)objectAtIndex:(NSUInteger)index {
    return [self objectAtIndex:index];
}

-(void)addCampingListObject:(SRCampingGround *)camp{
    NSLog(@"Add Camping: %@", camp.name);
    [campingList addObject: camp];
}

-(void)removeCampingListObject:(SRCampingGround *)camp{
    NSLog(@"Remove Camping: %@", camp.name);
    [campingList removeObject: camp];
}

/*TODO  -(void)addCampingList: (NSArray *) campList{
 for(int i =0; i < campList.count; i++) {
 [campingList addObject: campList[i]];
 }
 
 }*/

@end
